package org.chen.model.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: 陈亮
 * @Date: 2019/3/24 14:07
 */
@Entity
@Table(name = "sys_users")
@Data
@ToString
public class Users implements Serializable {
    @Id
    private Integer id;
    private String account;
    private String password;
    private String nickname;
    @Column(name = "login_ip")
    private String loginIp;
    @Column(name = "login_date")
    private Date logigDate;
    @Column(name = "del_flag")
    private Integer delFlag;
    @Column(name = "role_id")
    private Integer roleId;
    private String remarks;
}
